package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.Role;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleDao extends Mapper<Role> {
    List<Role> findById(Integer id);

    Page findPage(String queryString);

    Role findByName(String name);

    int deleteById(Integer id);
}
